package com.hzyb.shopMerchant.controller;

import javax.annotation.Resource;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.hzyb.shopMerchant.model.ShopMerchant;
import com.hzyb.shopMerchant.service.ShopMerchantService;

@RestController
public class ShopMerchantController {

	@Resource
	private ShopMerchantService shopMerchantService;

	@RequestMapping("/ShopMerchant/getShopMerchantById")
	public ShopMerchant getShopMerchantById(@RequestParam String merchantSid) {
		return shopMerchantService.getShopMerchantById(merchantSid);
	}

}
